package com.bcbim.operation_maintenance.space_inventory_report_query.mapper;

import com.bcbim.common.sys.Code;
import com.bcbim.operation_maintenance_interface.space_inventory_report_query.dao.SpaceInventoryReportQueryDAO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version V 1.0.0
 * @Description：空间清册筛选条件
 * @Author: haomeijie
 * @Date: 2022/4/14 17:31
 **/
@Mapper
public interface SpaceInventoryReportQueryMapper {

    /**
     * 批量新增筛选条件
     *
     * @param list
     * @return int
     * @Author: haomeijie
     * @Date: 2022/4/14 17:13
     */
    int batchInsert(List<SpaceInventoryReportQueryDAO> list);

    /**
     * 批量修改筛选条件
     *
     * @param list
     * @return int
     * @Author: haomeijie
     * @Date: 2022/4/14 17:13
     */
    int batchUpdate(List<SpaceInventoryReportQueryDAO> list);

    /**
     * 获取查询条件
     *
     * @param spaceInventoryReportId
     * @return List<Code>
     * @Author: haomeijie
     * @Date: 2022/4/15 10:53
     */
    List<Code> listQuery(String spaceInventoryReportId);
}
